<?php

/**
 * App
 *
 * @package App
 * @subpackage page
 */
require_once 'App.php';

/**
 * * Admin_User_Detail_Index
 *
 * <pre>ユーザ情報詳細
 * </pre>
 *
 * @package     App
 * @subpackage  page
 * @author      $Author: moriwaki $
 * @version     $Id: 2008-09-30 moriwaki $
 */
class Admin_User_Detail_Index extends App_Page
{

	function onInit($args)
	{
		$params = array();
        $params['mode'] = 'id';
        $params['id'] = $args['id'];
        $resource = new BEAR_Resource('user/profile');
        $resource->read($params);
        $view['profile'] = $resource->getResult();
        $pager = $resource->getPager();
    
        /* セット */
        $this->set('view', $view);
        $this->set('pager', $pager);
	}
}

new BEAR_Main('Admin_User_Detail_Index');
